import RegisterRouter from '@/register/router'

import Login from '@/routes/login'
import Auth from '@/routes/auth'


class RouterMiddleware{
  private app
  constructor(app){
    this.app = app
    this.register()
  }
  register(){
    new RegisterRouter(this.app,{
      controllers: [ Login,Auth ]
    })
  }
}

export default RouterMiddleware
